#pragma once
#include <vector>
#include "room.h";
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
using namespace std;
class building
{
private:
	vector<room> v;
	string hus;
public:
	building(void);
	building(string hus);
	string GetHus();
	void SetHus(string hus);

	void add(room r);
	void Delete();
	string list();
	void search();

	void writeToFile(string filnamn);
	void readFromFile(string filnamn);
	void area();

};

